Predictors of psychiatric hospitalization in ex-prisoners with substance use problems a data-linkage study